{% extends 'layout/default.html' %}

{% block title %}{{ title }}{% endblock %}
{% block head %}
<style type="text/css">
.unstyled li a {line-height: 35px;}
</style>
{% if time > 0 and jumpurl -%}
<meta http-equiv="refresh" content="{{ time }};url={{ jumpurl }}">
{%- endif %}
{% endblock %}

{% block main_body %}
    <h1><small>{{ title }}</small></h1>
    <div style="margin-top: 20px; margin-left: 40px;">
        <p>{{ msg }}</p>
        {% if links -%}
            <ul class="unstyled">
            {% for link in links -%}
                <li><a href="{{ link.href }}">{{ link.name }}</a></li>
            {%- endfor %}
            </ul>
        {%- endif %}

        
    </div>
{% endblock %}
